install Bindplane
前言
最近看完2023 Google Cloud summit ,
看到一個新東西,OpenTelemetry,可以不用埋程式用sidecar的方式,
就能做到Observability的trace,
一開始安裝OpenTelemetry,後來發現,
他好肥(測試cluster空間不足),之後還搞錯了一件事情。
後來改測試Bindplane。
正文
What is Bindplane?
Bindplane is an open source solution utilizing the OpAMP protocol to configure, monitor, and deploy various collectors.
Bindplane 是一個開源解決方案,利用 OpAMP 協定來設定、監控和部署各種收集器。
他是一個監控跟log的收集器,他並不是像efk或google cloud那樣的東西。
ref. What is OpAMP? And what is Bindplane?
安裝
- Helm add source
helm repo add "bindplane" \ "https://observiq.github.io/bindplane-op-helm"
helm repo update
- 建立組態 values.yaml
config:
username: "admin"
password: "admin"
secret_key: "13c15d7c-233e-49e3-bef4-f7498f33518f"
sessions_secret: "a4e5aa85-5df4-4edd-8cfe-d8a7257d09dd"
- 安裝
helm upgrade --install "bindplane" \
--values "values.yaml" \
--namespace bindplane \
--create-namespace \
bindplane/bindplane
ref. Deploy BindPlane OP Server on K8s
設定
- 設定port forward轉過去服務上
kubectl port-forward -n bindplane svc/bindplane 3001